<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../layui/css/layui.css" />
	</head>
	<body>
		<!-- 模糊查询 -->
		<form class="layui-form" action="">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">姓名</label>
					<div class="layui-input-inline">
						<input type="text" name="snames" id="snames" placeholder="请输入姓名" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">手机号码</label>
					<div class="layui-input-inline">
						<input type="text" name="phones" id="phones" placeholder="请输入手机号码" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即查询</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<table class="layui-hide" id="test" lay-filter="test"></table>
		<!-- from表单开始 -->
		<form class="layui-form" action="" id="from" style="display: none;" lay-filter="from">
			<div class="layui-form-item" style="display: none;">
				<label class="layui-form-label">编号</label>
				<div class="layui-input-block">
					<input type="text" name="sid" lay-verify="title" id="sid" placeholder="请输入编号" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">学生姓名</label>
				<div class="layui-input-block">
					<input type="text" name="sname" lay-verify="title" id="sname" placeholder="请输入学生姓名"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">性别</label>
					<div class="layui-input-inline">
						<select id="sex" name="sex" lay-search="">
							<option value="">请输入性别</option>
							<option value="男">男</option>
							<option value="女">女</option>
						</select>
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">年龄</label>
				<div class="layui-input-block">
					<input type="text" name="age" lay-verify="title" id="age" placeholder="请输入学生姓名" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">电话号码</label>
				<div class="layui-input-block">
					<input type="text" name="phone" lay-verify="title" id="phone" placeholder="请输入电话号码"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">邮箱</label>
				<div class="layui-input-block">
					<input type="text" name="email" lay-verify="title" id="email" placeholder="请输入邮箱"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">出生日期</label>
				<div class="layui-input-block">
					<input type="text" name="birthday" lay-verify="title" id="birthday" placeholder="请输入出生日期"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">身份证</label>
				<div class="layui-input-block">
					<input type="text" name="cradid" lay-verify="title" id="cradid" placeholder="请输入身份证"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">入学时间</label>
				<div class="layui-input-block">
					<input type="text" name="createtime" lay-verify="title" id="createtime" placeholder="请输入入学时间"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">籍贯</label>
				<div class="layui-input-block">
					<input type="text" name="natives" lay-verify="title" id="natives" placeholder="请输入籍贯"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">班级编号</label>
				<div class="layui-input-block">
					<input type="text" name="cid" lay-verify="title" id="cid" placeholder="请输入班级编号" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">角色编号</label>
				<div class="layui-input-block">
					<input type="text" name="rid" lay-verify="title" id="rid" placeholder="请输入角色编号" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">系别编号</label>
				<div class="layui-input-block">
					<input type="text" name="deptid" lay-verify="title" id="deptid" placeholder="请输入系别编号"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo">立即提交</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<!-- from表单结束 -->
		<!-- 查看开始 -->
		<form class="layui-form" action="" style="display: none; padding-left: 100px; padding-top: 30px;" id="demo" lay-filter="demo">
			<!-- <div class="layui-form-item">
				<div class="layui-inline" style="display: none;">
					<label class="layui-form-label">编号</label>
					<div class="layui-input-inline">
						<input type="text" name="tid" id="tid" placeholder="请输入老师姓名" class="layui-input">
					</div>
				</div>
			</div> -->
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">学生姓名</label>
					<div class="layui-input-inline">
						<input type="text" name="sname" id="sname" placeholder="请输入老师姓名" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">性别</label>
					<div class="layui-input-inline">
						<input type="text" name="sex" id="sex" placeholder="请输入性别" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">年龄</label>
					<div class="layui-input-inline">
						<input type="text" name="age" id="age" placeholder="请输入年龄" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">电话号码</label>
					<div class="layui-input-inline">
						<input type="text" name="phone" id="phone" placeholder="请输入电话号码" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">邮箱</label>
					<div class="layui-input-inline">
						<input type="text" name="email" id="email" placeholder="请输入邮箱" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">出生日期</label>
					<div class="layui-input-inline">
						<input type="text" name="birthday" id="birthday" placeholder="请输入出生日期" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">身份证号</label>
					<div class="layui-input-inline">
						<input type="text" name="cradid" id="cradid" placeholder="请输入身份证号" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">籍贯</label>
					<div class="layui-input-inline">
						<input type="text" name="natives" id="natives" placeholder="请输入籍贯" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">高中所在学校</label>
					<div class="layui-input-inline">
						<input type="text" name="seniorhigh" id="seniorhigh" placeholder="请输入高中所在学校" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">入学时间</label>
					<div class="layui-input-inline">
						<input type="text" name="createtime" id="createtime" placeholder="请输入入学时间" class="layui-input">
					</div>
				</div>
			</div>
			
		</form>
		<!-- 查看结束 -->
	</body>
	<script type="text/html" id="toolbarDemo">
		<div class="layui-btn-container">
			<button class="layui-btn layui-btn-sm" lay-event="getCheckData">增加</button>
		</div>
	</script>

	<script type="text/html" id="barDemo">
		<a class="layui-btn  layui-btn-xs layui-btn-radius" lay-event="edit">编辑</a>
		<a class=" layui-btn-danger layui-btn layui-btn-xs layui-btn-radius" lay-event="del">删除</a>
		<a class="layui-btn layui-btn-xs layui-btn-radius " lay-event="select">查看信息</a>
	</script>

	<script src="../../js/jquery-1.8.3.min.js" charset="utf-8"></script>
	<script src="../../layui/layui.js" charset="utf-8"></script>
	<script src="StudentAdmin.js" charset="utf-8"></script>
</html>
